﻿namespace HuaweiCloud.Dotnet.Samples.ESports.Main.Dtos
{
    /// <summary>
    /// 任务条件Dto
    /// </summary>
    public class EventConditionDto
    {
        /// <summary>
        /// 条件名
        /// </summary>
        public string? Key { get; set; }
        /// <summary>
        /// 达成条件的最小值
        /// </summary>
        public int Value { get; set; }
        public EventConditionDto(string? key, int value)
        {
            Key = key;
            Value = value;
        }
    }
}
